/**
 * Candidate number: 35834
 */
package tv.starfu.components.level;

import com.artemis.Component;

/**
 * gridSize can refer to:
 *      1. size of the individual tile
 *      2. size of the overall grid
 * depending on which entity is using it
 * 
 * walkableTileCells is used with Tiles only, and is an int[]
 * of cells that are paths
 * @author nia radical
 */
public class Path extends Component {
    private int gridSize;
    public Cell[] cells;

    public Path(int gridSize) {
        this.gridSize = gridSize;
        
        cells = new Cell[gridSize];
        
        for(int i = 0; i < gridSize; ++i) {
            cells[i] = new Cell(i);
        }
    }

    public int getGridSize() {
        return gridSize;
    }

    public void setGridSize(int gridSize) {
        this.gridSize = gridSize;
    }

    public Cell[] getCells() {
        return cells;
    }

    public void setCells(Cell[] cells) {
        this.cells = cells;
    }
    
    
    
}
